<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
	.select_width{width: 142px}

</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">&nbsp;园区信息</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo01" cellspacing="1">
	<tr>
		<td nowrap width="15%" align="right"><span class="color_red">*</span>园区名称：</td>
		<td nowrap colspan="5">
		<input name="industrial_park/yq_title" label="园区信息-->园区名称" type="text" id="yq_title"
			class="input_css required " style="width: 735px;" maxlength="50"
			value="<x:out select="$xmlData/data/industrial_park/yq_title" />" />
			<input type="hidden" name="proposal/zh_title" id="proposal_zh_title" value="<x:out select="$xmlData/data/proposal/zh_title" />"/>			
		</td>
	</tr>
	<tr>
		<td nowrap align="right" width="15%"><span class="color_red">*</span>园区地址：</td>
		<td nowrap colspan="5">
		<input name="industrial_park/address" label="园区信息-->园区地址" type="text"
			class="input_css required " style="width: 735px;" maxlength="50"
			value="<x:out select="$xmlData/data/industrial_park/address" />" />
		</td>
	</tr>
	<tr>
		<td nowrap align="right"><span class="color_red">*</span>填表日期：</td>
		<td nowrap colspan="5"><c:set var="submit_date">
				<x:out select="$xmlData/data/proposal/submit_date" />
			</c:set> <cpt:date id="submit_date" name="proposal/submit_date"
				value="${submit_date}" size="27" className="required date"
				label="园区信息-->填表日期"></cpt:date></td>
	</tr>
</table>
<br>
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo02" cellspacing="1">
	<tr><td colspan="6" class="t_bar" >&nbsp;建设改造费补贴</td></tr>
	<tr>
		<td nowrap width="15%" align="right"><span class="color_red">*</span>占地面积：</td>
		<td nowrap >
		<input name="industrial_park/covers_area" label="建设改造费补贴-->占地面积" type="text" onfocus="InitInput.setNumber(this,7,0,0)"
			class="input_css required " style="text-align:right;width: 130px;" 
			value="<x:out select="$xmlData/data/industrial_park/covers_area" />" />&nbsp;平方米</td>
	
		<td nowrap align="right" width="15%"><span class="color_red">*</span>建筑面积：</td>
		<td nowrap>
		<input name="industrial_park/building_area" label="建设改造费补贴-->建筑面积" type="text" onfocus="InitInput.setNumber(this,7,0,0)"
			class="input_css required " style="text-align:right;width: 130px;" 
			value="<x:out select="$xmlData/data/industrial_park/building_area" />" />&nbsp;平方米
		</td>
		<td nowrap align="right" width="15%"><span class="color_red">*</span>计划投资金额：</td>
		<td nowrap>
		<input name="industrial_park/jhtz_budget" label="建设改造费补贴-->计划投资金额" type="text" onfocus="InitInput.setNumber(this,7,4,2)"
			class="input_css required " style="text-align:right;width: 130px;" 
			value="<x:out select="$xmlData/data/industrial_park/jhtz_budget" />" />&nbsp;万元
		</td>
	</tr>
	<tr>
		<td nowrap width="15%" align="right"><span class="color_red">*</span>实际已投资金额：</td>
		<td nowrap >
		<input name="industrial_park/budget_tz" label="建设改造费补贴-->实际已投资金额" type="text" onfocus="InitInput.setNumber(this,7,4,2)"
			class="input_css required " style="text-align:right;width: 130px;" 
			value="<x:out select="$xmlData/data/industrial_park/budget_tz" />" />&nbsp;万元</td>
	
		<td nowrap align="right" width="15%"><span class="color_red">*</span>申请补贴金额：</td>
		<td nowrap colspan="3">
		<input name="industrial_park/funds_bt" label="建设改造费补贴-->申请补贴金额" type="text" onfocus="InitInput.setNumber(this,7,4,2)"
			class="input_css required " style="text-align:right;width: 130px;"  id="total_fund_1"
			value="<x:out select="$xmlData/data/industrial_park/funds_bt" />" />&nbsp;万元
		</td>
	</tr>
	<tr>
		<td nowrap width="15%" align="right"><span class="color_red">*</span>建设情况：</td>
		<td nowrap >
			<c:set var="build_status"><x:out select="$xmlData/data/industrial_park/build_status_value" /></c:set>
			<cpt:select id="build_status"  key="build_status" onChange="buildStatus(this,'build_status','finish_date')" className="select_width" value="${build_status}" ></cpt:select>
			<input type="hidden" id="build_status_value" name="industrial_park/build_status_value" class="required"  value="${build_status}" label="建设改造费补贴-->建设情况">
			<input type="hidden" name="industrial_park/build_status_name" value="<x:out select="$xmlData/data/industrial_park/build_status_name" />">
		</td>
	    <td id="build_status_1" nowrap align="right" width="15%"><span class="color_red">*</span>计划建成时间：</td>
		<td id="build_status_2" nowrap colspan="3">
			<c:set var="finish_date" scope="page"><x:out select="$xmlData/data/industrial_park/finish_date"/></c:set>
			<cpt:date id="finish_date" name="industrial_park/finish_date" value="${finish_date}"  className=" date"
				label="建设改造费补贴-->计划建成时间"></cpt:date>
		</td>
		<td  id="build_status_3" colspan="4"></td>
	</tr>
	<tr>
		<td nowrap align="right" width="15%"><span class="color_red">*</span>改造后产业定位：</td>
		<td nowrap colspan="5">
		<input name="industrial_park/product_positioning" label="建设改造费补贴-->改造后产业定位" type="text"
			class="input_css required" style="width: 740px;" maxlength="50"
			value="<x:out select="$xmlData/data/industrial_park/product_positioning" />" />
		</td>
	</tr>
	<tr><td colspan="6" class="t_bar">&nbsp;租金补贴</td></tr>
	<tr>
		<td nowrap width="15%" align="right"><span class="color_red">*</span>申请补贴物业面积：</td>
		<td nowrap >
		<input name="industrial_park/rental_subsidies/building_area" label="租金补贴-->申请补贴物业面积" type="text" onfocus="InitInput.setNumber(this,7,0,0)"
			class="input_css required " style="text-align:right;width: 130px;" 
			value="<x:out select="$xmlData/data/industrial_park/rental_subsidies/building_area" />" />&nbsp;平方米</td>
	
		<td nowrap align="right" width="15%"><span class="color_red">*</span>实际支付租金金额：</td>
		<td nowrap>
		<input name="industrial_park/rental_subsidies/rent_costs" label="租金补贴-->实际支付租金金额" type="text" onfocus="InitInput.setNumber(this,7,4,2)"
			class="input_css required " style="text-align:right;width: 130px;" 
			value="<x:out select="$xmlData/data/industrial_park/rental_subsidies/rent_costs" />" />&nbsp;万元
		</td>
		<td nowrap align="right" width="15%"><span class="color_red">*</span>申请补贴金额：</td>
		<td nowrap>
		<input name="industrial_park/rental_subsidies/application_amount" label="租金补贴-->申请补贴金额" type="text" onfocus="InitInput.setNumber(this,7,4,2)"
			class="input_css required " style="text-align:right;width: 130px;"  id="total_fund_2"
			value="<x:out select="$xmlData/data/industrial_park/rental_subsidies/application_amount" />" />&nbsp;万元
		</td>
	</tr>
	<tr><td colspan="6" class="t_bar" >&nbsp;园区管理机构公共服务活动补贴</td></tr>
	<tr>
		<td nowrap align="right" width="15%"><span class="color_red">*</span>活动实际发生费用金额：</td>
		<td nowrap>
		<input name="industrial_park/property_costs/total_costs" label="园区管理机构公共服务活动补贴-->活动实际发生费用金额" type="text" onfocus="InitInput.setNumber(this,7,4,2)"
			class="input_css required " style="text-align:right;width: 130px;" 
			value="<x:out select="$xmlData/data/industrial_park/property_costs/total_costs" />" />&nbsp;万元
		</td>
		<td nowrap align="right" width="15%"><span class="color_red">*</span>申请补贴金额：</td>
		<td nowrap colspan="3">
		<input name="industrial_park/industrial_park/property_costs/application_amount" label="园区管理机构公共服务活动补贴-->申请补贴金额" type="text" onfocus="InitInput.setNumber(this,7,4,2)"
			class="input_css required " style="text-align:right;width: 130px;"  id="total_fund_3"
			value="<x:out select="$xmlData/data/industrial_park/industrial_park/property_costs/application_amount" />" />&nbsp;万元
		</td>
	</tr>
	<tr><td colspan="6" class="t_bar" >&nbsp;园区公共服务平台建设投资补贴</td></tr>
	<tr>
		<td nowrap align="right" width="15%"><span class="color_red">*</span>平台名称：</td>
		<td nowrap colspan="5">
		<input name="industrial_park/services/name" label="园区公共服务平台建设投资补贴-->平台名称" type="text"
			class="input_css required" style="width: 740px;" maxlength="50"
			value="<x:out select="$xmlData/data/industrial_park/services/name" />" />
		</td>
	</tr>
	<tr>
		<td nowrap width="15%" align="right"><span class="color_red">*</span>建设情况：</td>
		<td nowrap >
			<c:set var="build_status2"><x:out select="$xmlData/data/industrial_park/services/build_status2_value" /></c:set>
			<cpt:select id="build_status2" onChange="buildStatus(this,'build_status2','finish_date2')"  key="build_status"  className="select_width" value="${build_status2}" ></cpt:select>
			<input type="hidden" id="build_status2_value" name="industrial_park/services/build_status2_value"  class="required" value="${build_status2}" label="园区公共服务平台建设投资补贴-->建设情况">
			<input type="hidden" name="industrial_park/services/build_status2_name"  value="<x:out select="$xmlData/data/industrial_park/services/build_status2_name" />">
		</td>
	
		<td id="build_status2_1" nowrap align="right" width="15%"><span class="color_red">*</span>计划建成时间：</td>
		<td id="build_status2_2" nowrap colspan="3">
			<c:set var="finish_date2" scope="page"><x:out select="$xmlData/data/industrial_park/services/finish2_date"/></c:set>
			<cpt:date id="finish_date2" name="industrial_park/services/finish2_date" value="${finish_date2}" size="22" className=" date"
				label="园区公共服务平台建设投资补贴-->计划建成时间"></cpt:date>
		</td>
		<td id="build_status2_3" colspan="4">&nbsp;</td>
	</tr>
	<tr>
		<td nowrap width="15%" align="right"><span class="color_red">*</span>计划投资金额：</td>
		<td nowrap >
		<input name="industrial_park/services/planned_investment" label="园区公共服务平台建设投资补贴-->计划投资金额" type="text" onfocus="InitInput.setNumber(this,7,4,2)"
			class="input_css required " style="text-align:right;width: 130px;" 
			value="<x:out select="$xmlData/data/industrial_park/services/planned_investment" />" />&nbsp;万元</td>
	
		<td nowrap align="right" width="15%"><span class="color_red">*</span>实际支付租金金额：</td>
		<td nowrap>
		<input name="industrial_park/services/finished_fund" label="园区公共服务平台建设投资补贴-->实际支付租金金额" type="text" onfocus="InitInput.setNumber(this,7,4,2)"
			class="input_css required " style="text-align:right;width: 130px;" 
			value="<x:out select="$xmlData/data/industrial_park/services/finished_fund" />" />&nbsp;万元
		</td>
		<td nowrap align="right" width="15%"><span class="color_red">*</span>申请补贴金额：</td>
		<td nowrap>
		<input name="industrial_park/services/application_amount" label="园区公共服务平台建设投资补贴-->申请补贴金额" type="text" onfocus="InitInput.setNumber(this,7,4,2)"
			class="input_css required " style="text-align:right;width: 130px;"  id="total_fund_4"
			value="<x:out select="$xmlData/data/industrial_park/services/application_amount" />" />&nbsp;万元
		</td>
	</tr>
	<tr><td colspan="6" class="t_bar" >项目情况简述(申请租金补贴的无需填写)</td></tr>
	<tr>
		<td colspan="6">
			<textarea name="industrial_park/basis_info" rows="5" style="width:890px" class="input_textarea maxlength:300 textarea"  label="项目情况简述" ><x:out select="$xmlData/data/industrial_park/basis_info" /></textarea>
		<input name="industrial_park/basis_info_hidden" value=""  type="hidden"/>
 		</td>
	</tr>
</table>
<script type="text/javascript">
	$(function(){
		
		var innovation_org_name = $("#yq_title");
		var proposal_zh_title = $("#proposal_zh_title");
		innovation_org_name.bind('keyup', function(){
			proposal_zh_title.val($.trim(innovation_org_name.val()));
			
		});
	});
		$(function(){
			buildStatus(document.getElementById("build_status_value"),'build_status','finish_date');
			buildStatus(document.getElementById("build_status2_value"),'build_status2','finish_date2');
			
		});
		
		function buildStatus(obj,obj2,obj3){
			if(obj.value==1){
			$("#"+obj2+"_1").hide();
			$("#"+obj2+"_2").hide();
			$("#"+obj2+"_3").show();
			$("#"+obj3).removeClass("required");
			$("#"+obj3).val("");
			}
			else if(obj.value==2) {
				$("#"+obj2+"_1").show();
				$("#"+obj2+"_2").show();
				$("#"+obj2+"_3").hide();
				$("#"+obj3).addClass("required");		
			}
			else{
				$("#"+obj2+"_1").hide();
				$("#"+obj2+"_2").hide();
				$("#"+obj2+"_3").show();
				
			}
			
		}
		
		
	</script>